question

J. Hunt avatar image
J. Hunt asked

Possible to remove Content-Length header requirement?

My PaaS provider uses a front end proxy that always responds to an HTTP/1.1 client request with chunked transfer-coding, regardless if my app sets the Content-Length header. Furthermore, the HTTP 1.1 spec requires that any application is able to deal with chunked encoding: http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.4 "All HTTP/1.1 applications that receive entities MUST accept the "chunked" transfer-coding (section 3.6), thus allowing this mechanism to be used for messages when the message length cannot be determined in advance." Any way you can remove the Content-Length header requirement?
alexa skills kit
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Jamie Grossman avatar image
Jamie Grossman answered
Hey! We have passed on your feature request to the relevant team. Thanks! Jamie
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Matt Kruse avatar image
Matt Kruse answered
You might want to try proxying your skill through Lambda: https://forums.developer.amazon.com/forums/thread.jspa?threadID=5857&tstart=0
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Jamie Grossman avatar image
Jamie Grossman answered
Hey there! Apologies for the delay in response, but this should have been fixed by now. If you have any other questions, please do not hesitate to get in touch. Regards, Jamie Message was edited by: Jamie@Amazon
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

J. Hunt avatar image
J. Hunt answered
Long overdue response, but just wanted to say "thank you" for addressing this issue. It works great!
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.