On Wed, Sep 14, 2011 at 5:31 PM, Martin S. Weber <martin.we...@nist.gov>wrote:

> bindings for WSDL; there is support for mimetypes, and thus
> application/json application/x-javascript text/javascript text/x-javascript
> (take your pick or use
>
something completely different ;))
>

i think you just found a bug in my code - i've been using
"application/javascript" instead of "application/x-javascript". What's even
worse, the amount of documentation which now needs to be changed is far
larger than the code ;).

For the fossil/json response headers we actually try to determine which
Content-Type to send based on the Accept header of the client, using one of
application/json, application/javascript, or falling back to text/plain if
we can't figure out what to do.


> [1] http://www.w3.org/TR/wsdl#_**http <http://www.w3.org/TR/wsdl#_http>
> [2] http://www.w3.org/TR/wsdl


Thank you very much :). i'll go get myself more informed on the topic...

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to