Re: Inlining HTTP Headers in URLs

From: LeVan,Ralph <levan_at_nyob>
Date: Tue, 1 Jun 2010 15:17:02 -0400
To: CODE4LIB_at_LISTSERV.ND.EDU
> -----Original Message-----
> From: Code for Libraries [mailto:CODE4LIB_at_LISTSERV.ND.EDU] On Behalf Of
> Erik Hetzner
> 
> I am having a hard time imagining the use case for this.

A simple use case comes from OpenSearch and its use of URL templates.  To enable the return of RSS as the response to an SRU query, we added the parameter "httpAccept=application/rss+xml" to the SRU URL in the OpenSearch template and coded for it in the SRU server.  Had we had a filter in the request, the servlet's life would have been easier.

That seemed like a specific solution to what could be a generalizable problem.

Ralph
Received on Tue Jun 01 2010 - 15:24:37 EDT