[MOBY-dev] RFC for asynchronous POST services

Paul Gordon gordonp at ucalgary.ca
Tue Feb 24 18:43:18 UTC 2009


According to RFC2616, which references RFC822 section 3.1, you can 
indeed have multi-line header field value, as long as each extra line 
starts with some linear white space.  Otherwise it'll think a new line 
is a new header (and probably a malformed one at that).  There is a 
standard for "folding" and "unfolding" such multi-line headers, which 
essential strips CR and LF out of the message on the receiving end.  I'm 
not sure how well this folding and unfolding protocol is handled by 
various servers and clients, but given that new lines will be stripped 
out on the receiving end anyway, should we say that the biomoby-wsrf 
field XML value should have no new lines, for maximum likelihood of 
transactional success?

Edward Kawas wrote:
> Hi Paul,
>
> I was thinking of just treating that XML doc as a string and placing that as
> the value for the header with key biomoby-wsrf.
>
> Do you think that will work?
>
> Eddie
>
> -----Original Message-----
> From: moby-dev-bounces at lists.open-bio.org
> [mailto:moby-dev-bounces at lists.open-bio.org] On Behalf Of Paul Gordon
> Sent: February-24-09 10:17 AM
> To: Core developer announcements
> Subject: Re: [MOBY-dev] RFC for asynchronous POST services
>
> Hi Eddie,
>
> Pardon my ignorance, I was quickly perusing the document, but in the 
> document where you break down sample XML such as "Response from 
> destroying the resource", how exact do you put that XML block in the 
> header?  I though HTTP headers are usually name=value...
>
> Edward Kawas wrote:
>   
>> Hello all,
>>
>> Attached is a draft proposal describing asynchronous post services in
>>     
> moby.
>   
>> It is very similar to the RFC for moby-async services, except that it is
>> HTTP POST and not SOAP based.
>>
>> Be harsh but nice!
>>
>> Eddie 
>>   
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> MOBY-dev mailing list
>> MOBY-dev at lists.open-bio.org
>> http://lists.open-bio.org/mailman/listinfo/moby-dev
>>     
> _______________________________________________
> MOBY-dev mailing list
> MOBY-dev at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/moby-dev
>
> _______________________________________________
> MOBY-dev mailing list
> MOBY-dev at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/moby-dev
>
>
>   



More information about the MOBY-dev mailing list