@olifre - have you determined a way to reproduce this with the CLI? With RHEL7's curl, I can't get it to do both chunked encoding and Expect: 100-continue
. When I enable both, I get:
> PUT //tmp/foo HTTP/1.1
> User-Agent: curl/7.29.0
> Host: test.example.com:8000
> Accept: */*
> Transfer-Encoding: chunked
> Expect: 100-continue
>
< HTTP/1.1 100 Unknown
< Connection: Keep-Alive
< Content-Length: 0
< HTTP/1.1 200 OK
< Connection: Keep-Alive
< Content-Length: 3
<
* Connection #0 to host test.example.com left intact
:-)
@gbitzes - could you help here?
PS - note that chunked encoding sends hex-encoded lengths. So when @olifre says:
but at least in my tests, it sent some garbage numbers as you can see above
Things look correct to me - 79
in hex is 121
in decimal, which appears to be the correct length of the data.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/xrootd/xrootd","title":"xrootd/xrootd","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/xrootd/xrootd"}},"updates":{"snippets":[{"icon":"PERSON","message":"@bbockelm in #915: @olifre - have you determined a way to reproduce this with the CLI? With RHEL7's curl, I can't get it to do both chunked encoding and `Expect: 100-continue`. When I enable both, I get:\r\n\r\n```\r\n\u003e PUT //tmp/foo HTTP/1.1\r\n\u003e User-Agent: curl/7.29.0\r\n\u003e Host: test.example.com:8000\r\n\u003e Accept: */*\r\n\u003e Transfer-Encoding: chunked\r\n\u003e Expect: 100-continue\r\n\u003e \r\n\u003c HTTP/1.1 100 Unknown\r\n\u003c Connection: Keep-Alive\r\n\u003c Content-Length: 0\r\n\u003c HTTP/1.1 200 OK\r\n\u003c Connection: Keep-Alive\r\n\u003c Content-Length: 3\r\n\u003c \r\n* Connection #0 to host test.example.com left intact\r\n:-)\r\n```\r\n\r\n@gbitzes - could you help here?\r\n\r\nPS - note that chunked encoding sends hex-encoded lengths. So when @olifre says:\r\n\r\n\u003e but at least in my tests, it sent some garbage numbers as you can see above\r\n\r\nThings look correct to me - `79` in hex is `121` in decimal, which appears to be the correct length of the data."}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/915#issuecomment-472977304"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/xrootd/xrootd/issues/915#issuecomment-472977304",
"url": "https://github.com/xrootd/xrootd/issues/915#issuecomment-472977304",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1