Cannot access a very big url #1014
-
Hi Phil I was trying to download an mp3 from an AWS server and could not do it as it kept giving me HTTP 404 Bad Request error. I checked the url and it works with the normal HTTP client libary. but when I use the url.begin("URL") it throws an error 404. Other shorter urls work perfectly fine. The URL that I have is 1500 characters long. Any idea on solving this.
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
The MAX_HTTP_REQ_LEN is currently defined in HttpHeader.h. I am not sure if your long size is still ok or if you would need to increase the stack size.. |
Beta Was this translation helpful? Give feedback.
-
Oh, you don't talk about the URL itself but parameters that you receive ? |
Beta Was this translation helpful? Give feedback.
-
That's definitly a bug! |
Beta Was this translation helpful? Give feedback.
-
I finally decided to move this data from the stack to the heap and increase the default size to 1K |
Beta Was this translation helpful? Give feedback.
That's definitly a bug!
I have committed the related correction...