Skip to Content.
Sympa Menu

per-entity - Re: [Per-Entity] Serving mdq queries with Apache

Subject: Per-Entity Metadata Working Group

List archive

Re: [Per-Entity] Serving mdq queries with Apache


Chronological Thread 
  • From: Tom Scavo <>
  • To: Tom Mitchell <>
  • Cc: , Tom Scavo <>
  • Subject: Re: [Per-Entity] Serving mdq queries with Apache
  • Date: Thu, 28 Jul 2016 15:24:12 -0400

Oh, and another thing is HTTP Conditional GET. In any case, here are
two requests for comparison:

$ curl --silent --dump-header /dev/tty
http://myserver.org/entities/urn%3Amace%3Aincommon%3Aosu.edu >
/dev/null
HTTP/1.1 301 Moved Permanently
Date: Thu, 28 Jul 2016 19:11:34 GMT
Server: Microsoft-IIS/6.0
Pragma: no-cache
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 227
Location: http://www.MyServer.org/entities/urn%3Amace%3Aincommon%3Aosu.edu

$ curl --silent --dump-header /dev/tty
http://mdq-beta.incommon.org/global/entities/urn%3Amace%3Aincommon%3Aosu.edu
> /dev/null
HTTP/1.1 200 OK
Date: Thu, 28 Jul 2016 19:23:38 GMT
X-Application-Context: application:sign:80
Content-Language: en
Content-Type: application/samlmetadata+xml; charset=UTF-8
ETag: "8b2f4313e9747e618af5a790fa3a7bdf4e2eaf57"
Content-Length: 9611
Server: Jetty(9.2.15.v20160210)


On Thu, Jul 28, 2016 at 3:18 PM, Tom Scavo
<>
wrote:
> On Thu, Jul 28, 2016 at 2:46 PM, Tom Mitchell
> <>
> wrote:
>>
>> The first URL is from the spec, and serves up some text. The other two will
>> serve up the real data grabbed from the MDQ beta server. I think they
>> represent the two main kinds of entity IDs in InCommon and eduGAIN. Let me
>> know if I should try others.
>
> This is good progress, Tom, but you've saved the most difficult parts
> to last :-)
>
> Click this link in your browser:
> http://mdq-beta.incommon.org/global/entities/urn%3Amace%3Aincommon%3Aosu.edu
>
> Note that there are two IDs that return the same metadata:
>
> urn:mace:incommon:osu.edu
> {sha1}d4d1ca999a5a9352fa618075eac456eb67956c74
>
> The MDQ server needs to support both.
>
> As a small thing, the content-type is wrong. It should be
>
> Content-Type: application/samlmetadata+xml
>
> not
>
> Content-Type: text/html
>
>
> Tom



Archive powered by MHonArc 2.6.19.

Top of Page