[Fwd: Re: [Repoze-dev] obob example...]

Mike Naberezny mike at maintainable.com
Wed Sep 12 02:04:29 UTC 2007


Chris McDonough wrote:
> - It's a POST request.
> - It has a content-type of 'text/xml'
> - Its body isn't a multipart/form-encoded body.
> 
> In that case the body is intercepted as an XML-RPC request.

I didn't see any "interceptor" part in your obob description, so that's why I 
am asking how this marshaling occurs in obob.  Sorry, remember that I'm 
ignorant of Bobo/ZPublisher.  I'll try to read up.

> Is there some convention in the wider world that a request uses to 
> signify that it wants JSON data back?

No, I just used it as an example of something other than text/plain.  In the 
case of JSON, the request would typically have the JSON content type in the 
Accept header.

Mike

-- 
Mike Naberezny
Maintainable Software
http://maintainable.com
_______________________________________________
Repoze-dev mailing list
Repoze-dev at lists.repoze.org
http://lists.repoze.org/mailman/listinfo/repoze-dev



More information about the Repoze-dev mailing list