You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Bruno P. Kinoshita" <ki...@apache.org> on 2014/12/19 21:51:38 UTC
[Question] What is ConNeg?
Hi!
Some time ago I started working on JENA-632 (which I still plan to submit a patch soon) and received some help here in the mailing list [1], and one of the messages mentioned ConNeg.
The JavaDocs for ConNeg are empty [2], and I think grokking its concept will help me with JENA-632.
I'd like to submit a patch for its JavaDocs, but before debugging it and trying to understand it, it would be easier if someone could point me to some old documentation, or maybe some test case that demonstrates what is ConNeg, please :)
Any pointers?
Thanks!
Bruno
[1] http://mail-archives.apache.org/mod_mbox/jena-dev/201409.mbox/%3C5419CCBB.9080808@apache.org%3E
[2]
http://jena.apache.org/documentation/javadoc/fuseki/org/apache/jena/fuseki/conneg/ConNeg.html
Re: [Question] What is ConNeg?
Posted by "Bruno P. Kinoshita" <ki...@apache.org>.
Oh, I completely forgot about Fuseki v2 (which I haven't yet played with).
Thanks for taking care of that Andy!
Bruno
>________________________________
> From: Andy Seaborne <an...@apache.org>
>To: dev@jena.apache.org
>Sent: Saturday, December 20, 2014 5:17 PM
>Subject: Re: [Question] What is ConNeg?
>
>
>Hi Bruno,
>
>Thanks for that - patch applied to both copies (Fuseki v1 and Fusek v2
>in jena-fuseki2). Easy since the only difference is the package
>declaration.
>
>(That code is of an era (and not the current epoch). Good thing there
>are tests for the cases that turn up for Fuseki.)
>
> Andy
>
>
>
>
>
>On 20/12/14 01:49, Bruno P. Kinoshita wrote:
>> Thanks Andy!
>>
>> I have just read the RFC, a Wikipedia page and some Apache httpd docs on content negotiation, and have produce the patch for JENA-833 [1] with my take on what is ConNeg.
>>
>> Hope that makes sense. I tried to avoid unnecessary edits, and follow the current code and comments style.
>>
>> [1] https://issues.apache.org/jira/browse/JENA-833
>>
>> Bruno
>>
>>
>> ----- Original Message -----
>>> From: Andy Seaborne <an...@apache.org>
>>> To: dev@jena.apache.org
>>> Cc:
>>> Sent: Friday, December 19, 2014 7:03 PM
>>> Subject: Re: [Question] What is ConNeg?
>>>
>>> & quot;ConNeg" is short for "(HTTP) Content Negotiation".
>>>
>>> The black art of matching the "Accept:" header to the possible
>>> alternatives the server offers.
>>>
>>> Andy
>>>
>>>
>>> On 19/12/14 20:51, Bruno P. Kinoshita wrote:
>>>> Hi!
>>>>
>>>> Some time ago I started working on JENA-632 (which I still plan to submit a
>>> patch soon) and received some help here in the mailing list [1], and one of the
>>> messages mentioned ConNeg.
>>>>
>>>> The JavaDocs for ConNeg are empty [2], and I think grokking its concept
>>> will help me with JENA-632.
>>>>
>>>> I'd like to submit a patch for its JavaDocs, but before debugging it
>>> and trying to understand it, it would be easier if someone could point me to
>>> some old documentation, or maybe some test case that demonstrates what is
>>> ConNeg, please :)
>>>>
>>>> Any pointers?
>>>>
>>>> Thanks!
>>>> Bruno
>>>>
>>>>
>>>> [1]
>>> http://mail-archives.apache.org/mod_mbox/jena-dev/201409.mbox/%3C5419CCBB.9080808@apache.org%3E
>>>>
>>>> [2]
>>>>
>>> http://jena.apache.org/documentation/javadoc/fuseki/org/apache/jena/fuseki/conneg/ConNeg.html
>>>>
>>>
>
>
>
>
Re: [Question] What is ConNeg?
Posted by Andy Seaborne <an...@apache.org>.
Hi Bruno,
Thanks for that - patch applied to both copies (Fuseki v1 and Fusek v2
in jena-fuseki2). Easy since the only difference is the package
declaration.
(That code is of an era (and not the current epoch). Good thing there
are tests for the cases that turn up for Fuseki.)
Andy
On 20/12/14 01:49, Bruno P. Kinoshita wrote:
> Thanks Andy!
>
> I have just read the RFC, a Wikipedia page and some Apache httpd docs on content negotiation, and have produce the patch for JENA-833 [1] with my take on what is ConNeg.
>
> Hope that makes sense. I tried to avoid unnecessary edits, and follow the current code and comments style.
>
> [1] https://issues.apache.org/jira/browse/JENA-833
>
> Bruno
>
>
> ----- Original Message -----
>> From: Andy Seaborne <an...@apache.org>
>> To: dev@jena.apache.org
>> Cc:
>> Sent: Friday, December 19, 2014 7:03 PM
>> Subject: Re: [Question] What is ConNeg?
>>
>> & quot;ConNeg" is short for "(HTTP) Content Negotiation".
>>
>> The black art of matching the "Accept:" header to the possible
>> alternatives the server offers.
>>
>> Andy
>>
>>
>> On 19/12/14 20:51, Bruno P. Kinoshita wrote:
>>> Hi!
>>>
>>> Some time ago I started working on JENA-632 (which I still plan to submit a
>> patch soon) and received some help here in the mailing list [1], and one of the
>> messages mentioned ConNeg.
>>>
>>> The JavaDocs for ConNeg are empty [2], and I think grokking its concept
>> will help me with JENA-632.
>>>
>>> I'd like to submit a patch for its JavaDocs, but before debugging it
>> and trying to understand it, it would be easier if someone could point me to
>> some old documentation, or maybe some test case that demonstrates what is
>> ConNeg, please :)
>>>
>>> Any pointers?
>>>
>>> Thanks!
>>> Bruno
>>>
>>>
>>> [1]
>> http://mail-archives.apache.org/mod_mbox/jena-dev/201409.mbox/%3C5419CCBB.9080808@apache.org%3E
>>>
>>> [2]
>>>
>> http://jena.apache.org/documentation/javadoc/fuseki/org/apache/jena/fuseki/conneg/ConNeg.html
>>>
>>
Re: [Question] What is ConNeg?
Posted by "Bruno P. Kinoshita" <br...@yahoo.com.br>.
Thanks Andy!
I have just read the RFC, a Wikipedia page and some Apache httpd docs on content negotiation, and have produce the patch for JENA-833 [1] with my take on what is ConNeg.
Hope that makes sense. I tried to avoid unnecessary edits, and follow the current code and comments style.
[1] https://issues.apache.org/jira/browse/JENA-833
Bruno
----- Original Message -----
> From: Andy Seaborne <an...@apache.org>
> To: dev@jena.apache.org
> Cc:
> Sent: Friday, December 19, 2014 7:03 PM
> Subject: Re: [Question] What is ConNeg?
>
>& quot;ConNeg" is short for "(HTTP) Content Negotiation".
>
> The black art of matching the "Accept:" header to the possible
> alternatives the server offers.
>
> Andy
>
>
> On 19/12/14 20:51, Bruno P. Kinoshita wrote:
>> Hi!
>>
>> Some time ago I started working on JENA-632 (which I still plan to submit a
> patch soon) and received some help here in the mailing list [1], and one of the
> messages mentioned ConNeg.
>>
>> The JavaDocs for ConNeg are empty [2], and I think grokking its concept
> will help me with JENA-632.
>>
>> I'd like to submit a patch for its JavaDocs, but before debugging it
> and trying to understand it, it would be easier if someone could point me to
> some old documentation, or maybe some test case that demonstrates what is
> ConNeg, please :)
>>
>> Any pointers?
>>
>> Thanks!
>> Bruno
>>
>>
>> [1]
> http://mail-archives.apache.org/mod_mbox/jena-dev/201409.mbox/%3C5419CCBB.9080808@apache.org%3E
>>
>> [2]
>>
> http://jena.apache.org/documentation/javadoc/fuseki/org/apache/jena/fuseki/conneg/ConNeg.html
>>
>
Re: [Question] What is ConNeg?
Posted by Andy Seaborne <an...@apache.org>.
"ConNeg" is short for "(HTTP) Content Negotiation".
The black art of matching the "Accept:" header to the possible
alternatives the server offers.
Andy
On 19/12/14 20:51, Bruno P. Kinoshita wrote:
> Hi!
>
> Some time ago I started working on JENA-632 (which I still plan to submit a patch soon) and received some help here in the mailing list [1], and one of the messages mentioned ConNeg.
>
> The JavaDocs for ConNeg are empty [2], and I think grokking its concept will help me with JENA-632.
>
> I'd like to submit a patch for its JavaDocs, but before debugging it and trying to understand it, it would be easier if someone could point me to some old documentation, or maybe some test case that demonstrates what is ConNeg, please :)
>
> Any pointers?
>
> Thanks!
> Bruno
>
>
> [1] http://mail-archives.apache.org/mod_mbox/jena-dev/201409.mbox/%3C5419CCBB.9080808@apache.org%3E
>
> [2]
> http://jena.apache.org/documentation/javadoc/fuseki/org/apache/jena/fuseki/conneg/ConNeg.html
>