URI length and Header size limits for HTTP requests and responses

Comments

2 comments

  • Austin Spires

    @drtamfrdhp our URI header length limit is 4095 bytes. Cookies can be up to 32768 bytes, in case anyone in the chain is wondering about that as well.

  • devforce

    When I send a request with a cookie request header of 5k I get "Header overflow" from fastly. If I send with a request of a cookie header of approx 4k it works.

    Im using curl:

    curl --cookie 'cfduid=ded62cb71b1de88e24e7893a992ee5a371463691148; optimizelyEndUserId=oeu1463695934969r0.16651758032862296; jsuid=3396753640; useSiteUrlRewriter=false; PHPSESSID=d6qnqnr0gtbrub309kot609fu3; apexissalesforceemployee=false; sccGuestUID=d9039be8-d292-469e-bf8b-f1b4af10339f; pctrk=8ff2d3f2-a48d-4193-a425-e412eb69095b; wptouchcustomizermode=mobile; dfcfooteroptin={%22email%22:%22tcessna@salesforce.com%22%2C%22subscribed%22:true}; ajsgroupid=null; ajsanonymousid=%22969ed331-16b3-4085-a8ac-fb115ff1b239%22; ajsuserid=%2200580000008sJTeAAM%22; _referrerog=https%3A%2F%2Fwww.wrike.com%2Fworkspace.htm; scc=true; ssq=%5B%5BB%5D%5D; WRUID=0; referrer=%2Fpromotions%2Forgs%2Ftrust-denull; atssc=google%3B6; logouturl="/forums/ForumsProfile?communityId=09aF00000004HMGIA2&userId=005F0000005vgTSIAY"; JSESSIONID=1t99dbzj9k8f01ldx2bqgd3963; BrowserId=scMTRMpQRhKQrIO90S3X5g; dfcwikiproductiondfcwikiUserName=Tina+cessna; dfcwikiproductiondfcwikiEmail=tcessna%40salesforce.com; _coveo.analytics.history=[{"name":"Query","value":"scrummaster","time":"\"2016-11-19T23:25:48.495Z\""},{"name":"Query","time":"\"2016-11-19T23:25:12.971Z\""},{"name":"PageView","value":"https://help.salesforce.com/search#","time":"\"2016-11-19T23:25:11.865Z\"","title":""},{"name":"Query","time":"\"2016-11-19T23:22:02.272Z\""},{"name":"PageView","value":"https://help.salesforce.com/search#","time":"\"2016-11-19T23:22:01.045Z\"","title":""}]; coveovisitorId=2e1138cc-7f90-49dc-a57f-3a81333b4c42; sessionid=b7a5fe36a0dc84b996c07b4c8c815ad0; AMCV8D6C67C25245AF020A490D4C%40AdobeOrg=283337926%7CMCAID%7C2B9F21A9050155D7-60001608E000E63D%7CMCIDTS%7C17134%7CMCMID%7C75890581083523027720282993698799024527%7CMCAAMLH-1480959939%7C9%7CMCAAMB-1480959939%7CNRX38WO0n5BH8Th-nqAGA; dfcwikiproductiondfcwikiLoggedOut=20161128185226; optimizelySegments=%7B%22313816972%22%3A%22gc%22%2C%22313850951%22%3A%22false%22%2C%22315175053%22%3A%22referral%22%7D; optimizelyBuckets=%7B%7D; webcoregeoCountry=us; webcoregeoRedirected=true; mbox=PC#1479352228571-325295.2843#1481571840|check#true#1480362300|session#3e77da2035f544d084435ec2f60c0f4a#1480364100; ga=GA1.2.1289443930.1463692751; WRUIDB=1284207514.1338952980; _CTData=gpv=32&apv38971www02=32&cpv38971www02=8&rpv38971www02=4; dfcsiteproductionsession=c3149883fe54e661e9e28bba53179d1c; 52609e00b7ee307e=583cbcac:583cbf04:00B6D208450010D44EC1184DD3:ch1ZvcWymPGTje8ZHXxaAAAAVitN9tzs3h8suB6IddFnEzMIBcav9yNrSEansEz65Cnehz3Yds=:012BF488450010D44EC1184DD3; apexdfclocale=en; svi=[CS]v1|2B9F21A9050155D7-60001608E000E63D[CE]; spers=%20sfid%3D27D8D9E252D2E878-060CF44EB36F549C%7C1543447389007%3B; ssess=%20c24%3DSFDC%2520Network%257C%255BDeveloperForce%255D%3B%20scc%3Dtrue%3B%20v0%3DSFDC%2520Network%257C%255BDeveloperForce%255D%3B%20sppv%3DDSC%25253Aus%25253Acontent%25253Atype%25253Awebinar%252C15%252C15%252C776%3B%20ssq%3Dsalesforceadnrollup2%253D%252526pid%25253DDSC%2525253Aus%2525253Acontent%2525253Atype%2525253Awebinar%252526pidt%25253D1%252526oid%25253Dhttps%2525253A%2525252F%2525252Fdeveloper.salesforce.com%2525252Fcalendar1%252526oidt%25253D1%252526ot%25253DA%252526oi%25253D1%3B; _atuvc=50%7C44%2C26%7C45%2C154%7C46%2C3%7C47%2C38%7C48; _atuvs=583ccf05d640d91f000; _utmtUA-45076517-1=1; _utmtUA-45076517-2=1; _utma=140220710.1289443930.1463692751.1480375171.1480380167.238; _utmb=140220710.2.10.1480380167; _utmc=140220710; _utmz=140220710.1479171484.210.17.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); ceg.s=ohdonb; _ceg.u=ohdonb; _ceir=1; _arv4=QFZHQXRI6JDSJJ5ZLW5E3T%3A20161128%3A2%7CWV5SBJVOOZADZJT5N5N6AC%3A20161118%3A2%7CUJXOHRFWA5ATZL3DNFWFCB%3A20161118%3A2%7CYR5S4QK655BCZGJ4ZNU6PU%3A20161115%3A12%7CD6DOAF3WC5FAVG5QLB545Y%3A20161115%3A11%7CKHANGVX5FNHJFGIKX7U7K5%3A20161115%3A180%7CZDMR3ICVVVCZPHFRE3X6IU%3A20161115%3A180%7CSQ4T36MSFBCK7AFKFSDTZE%3A20161115%3A114%7CZQLG66FZIRD3ZH4QMB4A75%3A20161116%3A37; _bizobzid=feef2a55-79d8-4363-949c-ba6132f7805d; bizocksm=3D785B1D049735FC; bizonpstats=14%3D41%2C; visitorid27572=219050766;' 'https://

    Wondering whats really going on with the limits?

Please sign in to leave a comment.