You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Sudheer Vinukonda (JIRA)" <ji...@apache.org> on 2014/05/21 19:08:38 UTC

[jira] [Created] (TS-2826) SPDY implementation does not support OPTIONS method

Sudheer Vinukonda created TS-2826:
-------------------------------------

             Summary: SPDY implementation does not support OPTIONS method
                 Key: TS-2826
                 URL: https://issues.apache.org/jira/browse/TS-2826
             Project: Traffic Server
          Issue Type: Bug
          Components: SPDY
            Reporter: Sudheer Vinukonda


SPDY implementation currently only supports the below methods. Need to add OPTIONS method to it.

{code}
if (req->method == "GET")
    spdy_fetcher_launch(req, TS_FETCH_METHOD_GET);
  else if (req->method == "POST")
    spdy_fetcher_launch(req, TS_FETCH_METHOD_POST);
  else if (req->method == "PURGE")
    spdy_fetcher_launch(req, TS_FETCH_METHOD_PURGE);
  else if (req->method == "PUT")
    spdy_fetcher_launch(req, TS_FETCH_METHOD_PUT);
  else if (req->method == "HEAD")
    spdy_fetcher_launch(req, TS_FETCH_METHOD_HEAD);
  else if (req->method == "CONNECT")
    spdy_fetcher_launch(req, TS_FETCH_METHOD_CONNECT);
  else if (req->method == "DELETE")
    spdy_fetcher_launch(req, TS_FETCH_METHOD_DELETE);
  else if (req->method == "LAST")
    spdy_fetcher_launch(req, TS_FETCH_METHOD_LAST);
  else
    spdy_prepare_status_response(sm, req->stream_id, STATUS_405);
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)