[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: URI constraints




Joe Gregorio wrote:
Blogger can publish to sites outside of blogger.com. I.e. if the PostURI is at www.blogger.com/atom/ then posting an entry to it
will create resources outside that domain.



Ok, we are talking past each other. Are you concerned about undefined side effects? I am not optimistic that we will eliminate them.


My brilliant Blogger blog is located here:

http://compulsorybloggerblog.blogspot.com/

However, Blogger Atom requests are all to the blogger.com domain. So you could say the "source" resources at blogger.com generate the resources at blogspot.com. Here's an example request using the draft-gregorio-09 protocol:

POST /atom/7310882/109632424186196510 HTTP/1.1
User-Agent: MobileAtomJ2ME (http://franklinmint.fm)
Connection: close
Authorization: WSSE profile="UsernameToken"
SOAPAction: "http://schemas.xmlsoap.org/soap/http/DELETE";
Content-Type: text/xml
Content-Length: 590
Host: www.blogger.com:80

<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility";
xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext";>
<soap:Header>

<wsse:Security>
<wsse:UsernameToken>
<wsse:Username>sayrer</wsse:Username>
<wsse:Password Type="wsse:PasswordDigest">PnsqeAPEdCxT1k6QhYpf7FfBfFY=</wsse:Password>
<wsse:Nonce>MTI4MzA3MTU4Mw==</wsse:Nonce>
<wsu:Created>2004-09-27T22:31:27Z</wsu:Created>
</wsse:UsernameToken>
</wsse:Security>


</soap:Header>
<soap:Body>

<DELETE xmlns="http://schemas.xmlsoap.org/wsdl/http/"; />

</soap:Body>
</soap:Envelope>

Robert Sayre