vbacct
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2014
03:15 PM
Does Roku API add http header "Expect:100-continue"?
Hi
We are seeing an issue where we see the http header "Expect: 100-continue" being added to the requests. We know that our lib is not adding this header, would like to know if any of Roku roUrlTransfer API adds this automatically to the requests?
Thanks.
We are seeing an issue where we see the http header "Expect: 100-continue" being added to the requests. We know that our lib is not adding this header, would like to know if any of Roku roUrlTransfer API adds this automatically to the requests?
Thanks.
10 REPLIES 10

RokuJoel
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2014
03:53 PM
Re: Does Roku API add http header "Expect:100-continue"?
Hi, do you see this with roURLTransfer's only or is this with video stream requests too?
- Joel
- Joel
vbacct
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2014
04:00 PM
Re: Does Roku API add http header "Expect:100-continue"?
Hi
We are seeing it with the roURLTransfer requests.
Thanks
We are seeing it with the roURLTransfer requests.
Thanks

RokuJoel
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2014
04:06 PM
Re: Does Roku API add http header "Expect:100-continue"?
Ok. Is this causing some type of problem, or are you just asking out of curiosity?
- Joel
- Joel
vbacct
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2014
04:14 PM
Re: Does Roku API add http header "Expect:100-continue"?
Yes, it is causing us some issues with response times. So trying to figure out how this gets set and if there is anything that can done to remove this header?
Thanks
Thanks
vbacct
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2014
09:46 AM
Re: Does Roku API add http header "Expect:100-continue"?
Hi,
Could you also let me know when this header gets added? Is it based on the payload size? We are not seeing this header being added for every requests, only for certain requests.
Thanks
Could you also let me know when this header gets added? Is it based on the payload size? We are not seeing this header being added for every requests, only for certain requests.
Thanks

RokuMarkn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2014
09:53 AM
Re: Does Roku API add http header "Expect:100-continue"?
As far as I can tell, this header is only added by the Roku when communicating with certain Netflix servers. Can you share a code sample that causes the header to be added?
--Mark
--Mark
vbacct
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2014
10:43 AM
Re: Does Roku API add http header "Expect:100-continue"?
Hi Mark
Here is the code that we use
ut = CreateObject("roURLTransfer")
ut.SetPort(m..port)
ut.RetainBodyOnError(true)
ut.AddHeader("content-type", "application/json")
if urlString.InStr(0, "https") = 0
ut.SetCertificatesFile("common:/certs/ca-bundle.crt")
ut.InitClientCertificates()
end if
ut.SetURL(urlString)
ut.AsyncPostFromString('datatobeposted')
Thanks
Here is the code that we use
ut = CreateObject("roURLTransfer")
ut.SetPort(m..port)
ut.RetainBodyOnError(true)
ut.AddHeader("content-type", "application/json")
if urlString.InStr(0, "https") = 0
ut.SetCertificatesFile("common:/certs/ca-bundle.crt")
ut.InitClientCertificates()
end if
ut.SetURL(urlString)
ut.AsyncPostFromString('datatobeposted')
Thanks
vbacct
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2014
02:07 PM
Re: Does Roku API add http header "Expect:100-continue"?
Any update on this?
Thanks
Thanks

RokuJoel
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2014
03:54 PM
Re: Does Roku API add http header "Expect:100-continue"?
Can you send me some URLs to test against via the private message message facility of this forum?
Thanks,
- Joel
Thanks,
- Joel