thx, now it is clear.


Am Mittwoch, 16. Oktober 2019 04:54:17 UTC+2 schrieb Bert JW Regeer:
>
> This is due to your custom header containing an underscore.
>
> See https://github.com/Pylons/waitress/issues/194 for more information.
>
> Bert
>
> On Oct 15, 2019, at 05:47, 'Roman S' via pylons-discuss <
> [email protected] <javascript:>> wrote:
>
> hi all,
>
> how do I allow a custom header in the request (retrieving it in a simple 
> flask app)?
>
>
> example:
>
>
> curl -X GET --header 'Accept: application/json' --header 'SESSION_DATA: 
> ...c2Vy...' http://localhost:8080/endpoint
>
>
> waitress just ignores the header SESSION_DATA, whereby gunicorn e.g. 
> allows it.
>
>
> *waitress==1.3.1*
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pylons-discuss/c45a4c53-4d8d-41db-952e-f61914a01c76%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/pylons-discuss/c45a4c53-4d8d-41db-952e-f61914a01c76%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/10cb2812-c618-49de-88d3-ea5f6433b3cb%40googlegroups.com.

Reply via email to