[wp-trac] [WordPress Trac] #41028: Add md5 sha sum to latest.zip download

WordPress Trac noreply at wordpress.org
Tue Jun 13 13:41:35 UTC 2017


#41028: Add md5 sha sum to latest.zip download
-------------------------+------------------------------
 Reporter:  mechanix     |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  4.8
 Severity:  normal       |  Resolution:  worksforme
 Keywords:               |     Focuses:
-------------------------+------------------------------
Changes (by JPry):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 Replying to [ticket:41028 mechanix]:

 Hi @mechanix! Thanks for taking the time to open an issue here on Trac!

 The header is indeed there. I don't know exactly when, but the
 wordpress.org domain has switched over to HTTPS since that original ticket
 was filed. The Content-MD5 is indeed there in the HTTPS version. Note what
 happens when you allow curl to follow the redirect below:


 {{{
 curl -IL 'http://wordpress.org/latest.zip'
 HTTP/1.1 301 Moved Permanently
 Server: nginx
 Date: Tue, 13 Jun 2017 13:35:59 GMT
 Content-Type: text/html
 Content-Length: 178
 Connection: keep-alive
 Location: https://wordpress.org/latest.zip

 HTTP/1.1 200 OK
 Server: nginx
 Date: Tue, 13 Jun 2017 13:35:59 GMT
 Content-Type: application/zip
 Content-Length: 8901913
 Connection: keep-alive
 Cache-control: private
 Content-Disposition: attachment; filename=wordpress-4.8.zip
 Last-Modified: Thu, 08 Jun 2017 14:30:14 GMT
 X-Frame-Options: SAMEORIGIN
 Content-MD5: 198f6de51d56c14bdc27c3a4cd3c7169
 X-nc: HIT lax 250
 Accept-Ranges: bytes
 }}}

 You can use the HTTPS version directly to skip the redirect.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41028#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list