esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vassil Dichev <>
Subject Re: Action question regarding Content-Type header
Date Mon, 30 Nov 2009 11:21:08 GMT
> Just checked and found that the class that sends the post is in
> HttpSender.scala.   The content type is hard-coded at the current
> time.
>      def getContentType() = "application/x-www-form-urlencoded"
> My suggestion would be to somehow pass the content type as part of the
> action. Maybe as an extra parameter in the URL that gets removed
> afterword

Hm, that's getting too complicated. Why don't you try to specify a
Content-Type: http header and see if it overwrites the original one?

View raw message