> On Jan 9, 2017, at 5:20 PM, steven meiers <commercial...@yahoo.de> wrote:
>
> the error does come up when you give agent.request a "GET" instead of a
> b"GET".
That's expected; you do have to pass the method as `bytes`, as documented here:
https://twistedmatrix.com/documents/16.6.0/api/twisted.web.iweb.IAgent.html#request
<https://twistedmatrix.com/documents/16.6.0/api/twisted.web.iweb.IAgent.html#request>
-g
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python