[Simpleweb-Support] Unable to get scheme/port/domain from incoming Request
Brought to you by:
niallg
From: Tom D. <t.d...@ca...> - 2012-11-10 10:43:31
|
Hi, I'm trying to develop a Clojure ring adapter for Simple, and I'm having trouble determining the http scheme, server hostname, and server port for incoming Simple Requests. I find that each of the following returns null: request.getAddress().getScheme() request.getAddress().getDomain() request.getAddress().getPort() I'd appreciate any advice. If you are able to read Clojure code, and think it might help, then my source is on GitHub here: https://github.com/netmelody/ring-simpleweb-adapter/blob/master/src/ring/adapter/simpleweb.clj Regards, Tom Denley |