Skip to content

Instantly share code, notes, and snippets.

@gaving
Created November 13, 2016 17:09
Show Gist options
  • Save gaving/4a3c7c77ec8ba8fa73685f26e1d988a2 to your computer and use it in GitHub Desktop.
Save gaving/4a3c7c77ec8ba8fa73685f26e1d988a2 to your computer and use it in GitHub Desktop.
browser GET vs chocolatey
GET https://chocolatey.org/api/v2/ HTTP/1.1
Accept: text/html, application/xhtml+xml, image/jxr, */*
Accept-Language: en-GB
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36 Edge/14.14393
Accept-Encoding: gzip, deflate
Host: chocolatey.org
Connection: Keep-Alive
Cookie: __utmc=211896390; __RequestVerificationToken_Lw__=Q3rb29L99zvbS9IbNR8paK1lh9zxaIh4jhAafb0EKbJXt9diH5H17xG4TuAPDyzA8SAqWEiPoLXYOTaK+Clfw9EGugLwWmj1tZJGiYoIYYdyUAXe60DwmBDAoUaA/0OaLPuv0pKUv8h3y31hpny6yXcwfHgBPbPQTkhjjSCbxs3qLPs0r1gAVpWDwwJi/LaD; __Controller::TempData=ReturnUrl=/users/account/LogOn?; __cfduid=d642ebbfcd385bc3802662c40e04f6bcc1479051585; __utma=211896390.2091249837.1479051586.1479051586.1479055623.2; __utmz=211896390.1479051586.1.1.utmcsr=bing|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); __utmb=211896390.1.10.1479055623
HTTP/1.1 200 OK
Date: Sun, 13 Nov 2016 17:07:41 GMT
Content-Type: application/xml;charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Cache-Control: public, max-age=31536000
DataServiceVersion: 1.0;
CF-Cache-Status: HIT
Vary: Accept-Encoding
Expires: Mon, 13 Nov 2017 17:07:41 GMT
Server: cloudflare-nginx
CF-RAY: 3013d2458cf9362f-MAN
Content-Encoding: gzip
e7
?
GET https://chocolatey.org/api/v2/ HTTP/1.0
User-Agent: NuGet/0.10.3.0 (Microsoft Windows NT 10.0.14393.0)
Host: chocolatey.org
HTTP/1.1 504 Fiddler - Receive Failure
Date: Sun, 13 Nov 2016 17:08:26 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Cache-Control: no-cache, must-revalidate
Timestamp: 17:08:26.997
[Fiddler] ReadResponse() failed: The server did not return a complete response for this request. Server returned 0 bytes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment