Re: Web Payments Schema & RDF

On 9/30/14 8:18 PM, Manu Sporny wrote:
> On 09/30/2014 05:13 PM, Kingsley Idehen wrote:
>> >I think there's a setting on the server that might targeting our
>> >URIBurner user agent. I am still getting 404's via the agent, but no
>> >so when I use curl directly.

404 was a read herring, its a 400 (bad request) error [1] .


> I checked, there doesn't seem to be anything targeting the URIBurner UA.
> You can check that by issuing the following command:
>
> curl -vvv -H "Accept: application/xhtml+xml,text/html" -H "User-Agent:
> http://linkeddata.uriburner.com:8000/vapour#this"
> https://web-payments.org/vocabs/commerce
>
> Here's the result:
>
>> >GET /vocabs/commerce HTTP/1.1 Host: web-payments.org Accept:
>> >application/xhtml+xml,text/html User-Agent:
>> >http://linkeddata.uriburner.com:8000/vapour#this
>> >
> < HTTP/1.1 200 OK
> < ...
>
> I also checked the .htaccess file, which doesn't do anything special
> based on UA:
>
> https://github.com/perma-id/w3id.org/blob/master/commerce/.htaccess
>
> The Apache config doesn't have anything special about UAs either:
>
>          <Directory /var/www/w3id.org>
>                  Options Indexes FollowSymLinks MultiViews
>                  AllowOverride All
>                  Require all granted
>          </Directory>
>
> If you gave us a full list of headers that your service is sending, we
> might be able to track down why you're getting a 400 from the service.

Dump from openssl client:

GET /vocabs/commerce HTTP/1.1
User-Agent: curl/7.30.0
Host: web-payments.org
Accept: */*

HTTP/1.1 400 Bad Request
date: Wed, 01 Oct 2014 11:52:02 GMT
server: Apache/2.2.22 (Ubuntu)
vary: Accept-Encoding
content-length: 309
connection: close
content-type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<hr>
<address>Apache/2.2.22 (Ubuntu) Server at web-payments.org Port 
443</address>
</body></html>



[1] 
http://linkeddata.uriburner.com/about/html/https/web-payments.org/vocabs/commerce 
-- URI reflecting state of affairs, when this issued is resolved (our 
side or on the server's)

-- 
Regards,

Kingsley Idehen 
Founder & CEO
OpenLink Software
Company Web: http://www.openlinksw.com
Personal Weblog 1: http://kidehen.blogspot.com
Personal Weblog 2: http://www.openlinksw.com/blog/~kidehen
Twitter Profile: https://twitter.com/kidehen
Google+ Profile: https://plus.google.com/+KingsleyIdehen/about
LinkedIn Profile: http://www.linkedin.com/in/kidehen
Personal WebID: http://kingsley.idehen.net/dataspace/person/kidehen#this

Received on Wednesday, 1 October 2014 11:58:36 UTC