You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the file pyodata/v2/service.py in line 46
lines.extend(('Content-Type: application/http ', 'Content-Transfer-Encoding:binary'))
There is an unnecessary space after the Content-Type header. This is I think why there is a space after the content type. When I change that it works for me.
In contrast to your case I use an API Gateway where validation fails.
thx for the investigation. That could be PR directly, sorry, i did not see activity on this issue and that you find the root cause.
I also misunderstand from the original comment where do you see the problem with one whitespace more than needed - e.g. Content-Type:Xapplication/http instead of Content-Type: application/httpX
This should be fixed, will do that.
out of curiosity - what do you mean by " I use an API Gateway where validation fails."? what api gateway?
Activity
bpreissler commentedon Nov 4, 2024
In the file pyodata/v2/service.py in line 46
lines.extend(('Content-Type: application/http ', 'Content-Transfer-Encoding:binary'))
There is an unnecessary space after the Content-Type header. This is I think why there is a space after the content type. When I change that it works for me.
In contrast to your case I use an API Gateway where validation fails.
service: fix space in application/http for batch
phanak-sap commentedon Mar 14, 2025
Hi @bpreissler
thx for the investigation. That could be PR directly, sorry, i did not see activity on this issue and that you find the root cause.
I also misunderstand from the original comment where do you see the problem with one whitespace more than needed - e.g. Content-Type:Xapplication/http instead of Content-Type: application/httpX
This should be fixed, will do that.
out of curiosity - what do you mean by " I use an API Gateway where validation fails."? what api gateway?
service: fix space in application/http for batch