Print

Print


Hi, I think the following incantation should give the same behavior as the probe - 100-Continue plus chunked encoding:

curl https://some-url -k -E /tmp/x509up_u1000 --header "Transfer-Encoding: chunked" --upload-file /etc/services -v -L

curl recognizes the added header, and switches automatically to chunked encoding mode.

(even though an FTS does not seem to use chunked encoding, so they test something with the probe that does not match actual real world usage...).

One of the goals of using HTTP on the grid is allowing the use of generic tools for data access, browsers, curl, etc. Chunked encoding is a very basic feature to support in any HTTP server..


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":"@gbitzes in #915: Hi, I think the following incantation should give the same behavior as the probe - 100-Continue plus chunked encoding:\r\n\r\n```\r\ncurl https://some-url -k -E /tmp/x509up_u1000 --header \"Transfer-Encoding: chunked\" --upload-file /etc/services -v -L\r\n```\r\n\r\ncurl recognizes the added header, and switches automatically to chunked encoding mode.\r\n\r\n\u003e (even though an FTS does not seem to use chunked encoding, so they test something with the probe that does not match actual real world usage...).\r\n\r\nOne of the goals of using HTTP on the grid is allowing the use of generic tools for data access, browsers, curl, etc. Chunked encoding is a very basic feature to support in any HTTP server.."}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/915#issuecomment-473216558"}}} [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/915#issuecomment-473216558", "url": "https://github.com/xrootd/xrootd/issues/915#issuecomment-473216558", "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