robertodealmeida/pydap.responses.wms — pull request #1 by jblarsen (2014-03-17 11:18:46+00:00)
Title: CORS and time

Hi Rob,

Here are a few very small suggestions for the PYDAP WMS response.

The first is to include a header for Cross-Origin Resource Sharing. I am not entirely sure whether some of the CORS preflight related headers should be set as well.

The second is to use upper letters for the "TIME" query string input (which it should be according to the standard as far as I can see). But maybe it should be done in a backwards compatible way instead so that both upper and lower cases are acceptable.

The third is to strip a trailing "Z" from timestamps in the requested time string since that format is also allowed by the standard.

Hope you can use some of the suggestions. Btw. this is the first time I use the Github pull request feature so I hope that I do it right.

Best regards,
Jesper