[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [lyo-dev] [EXTERNAL] Re: Why add If-Match twice?
|
Okay, that sounds correct. I mucked around with removing one of them,
and behavior was the same.
Thanks
-bob
On 12/21/2015 10:50 AM, Michael Fiedler wrote:
I'd call it a bug. Ill bet wink doesn't even add the second one.
In any case, only one if-match required.
Regards, Mike
On Dec 17, 2015 3:17 PM, "Robert Kerr" <rakerr@xxxxxxxxxx
<mailto:rakerr@xxxxxxxxxx>> wrote:
I'm working with the org.eclipse.lyo.client.java.sample package
(to try to troubleshoot my OSLC4NET problems) and had a question.
In the DoorsOauthSample.java file, I can get a DOORS requirement
just fine, and manipulate it as intended. When I modify a
requirement, it calls OslcOAuthClient:updateResource. Inside that
function is the line:
return
restClient.resource(url).contentType(mediaType).accept(acceptType).header("Authorization",authHeader).header(HttpHeaders.IF_MATCH,
ifMatch).header(OSLCConstants.OSLC_CORE_VERSION,"2.0").header(HttpHeaders.IF_MATCH,
ifMatch).put(artifact);
Why is the IF_MATCH header set twice?
--
-bob
I'm at a complete loss for...um... those things that are made out
of letters and assembled into sentences.
**********************************************************************
* Robert Kerr SSPS Developer and CUBIT Support Manager *
* rakerr@xxxxxxxxxx <mailto:rakerr@xxxxxxxxxx> | PO Box
5800, MS 0125 *
* Phone: (505) 844-8606 <tel:%28505%29%20844-8606> |
Sandia National Labs *
* Fax: (505) 844-2018 <tel:%28505%29%20844-2018> |
Albuquerque, NM 87185-0125 *
**********************************************************************
_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx <mailto:lyo-dev@xxxxxxxxxxx>
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/lyo-dev
_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/lyo-dev
--
-bob
The gig's a bore when the cockroaches snore.
**********************************************************************
* Robert Kerr SSPS Developer and CUBIT Support Manager *
* rakerr@xxxxxxxxxx | PO Box 5800, MS 0125 *
* Phone: (505) 844-8606 | Sandia National Labs *
* Fax: (505) 844-2018 | Albuquerque, NM 87185-0125 *
**********************************************************************