I see. The same recommendation is with Python.
Thanks a bunch
--
View this message in context:
http://restlet-discuss.1400322.n2.nabble.com/Get-language-code-from-the-executing-thread-tp7409075p7414619.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.
--
You can -- that's what Request.getCurrent() gives you. Be careful not to
over-use thread-local context, though, particularly if you use or intend to
use asynchronous request handling (connectors for which are available in
recent Restlet releases). I'm not sure what happens when you call
Request.get
Hello Andrei,
thanks for reporting this issue. The fix is available under the 2.1 branch and
2.2 master.
Best regards,
Thierry Boileau
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2941626
3 matches
Mail list logo