[#61822] Plan Developers Meeting Japan April 2014 — Zachary Scott <e@...>

I would like to request developers meeting around April 17 or 18 in this month.

14 messages 2014/04/03
[#61825] Re: Plan Developers Meeting Japan April 2014 — Urabe Shyouhei <shyouhei@...> 2014/04/03

It's good if we have a meeting then.

[#61826] Re: Plan Developers Meeting Japan April 2014 — Zachary Scott <e@...> 2014/04/03

Regarding openssl issues, I’ve discussed possible meeting time with Martin last month and he seemed positive.

[#61833] Re: Plan Developers Meeting Japan April 2014 — Martin Bo煬et <martin.bosslet@...> 2014/04/03

Hi,

[ruby-core:62124] [ruby-trunk - Feature #8429] Options requests in net/http should be able to accept a response body

From: e@...
Date: 2014-04-21 22:19:12 UTC
List: ruby-core #62124
Issue #8429 has been updated by Zachary Scott.

Target version changed from next minor to current: 2.2.0

----------------------------------------
Feature #8429: Options requests in net/http should be able to accept a response body
https://bugs.ruby-lang.org/issues/8429#change-46282

* Author: Chris Rice
* Status: Assigned
* Priority: Low
* Assignee: Yui NARUSE
* Category: lib
* Target version: current: 2.2.0
----------------------------------------
As it is currently implemented, Net::HTTP::Options does not allow responses to OPTIONS requests to have a response body:

 class Net::HTTP::Options < Net::HTTPRequest
   METHOD = 'OPTIONS'
   REQUEST_HAS_BODY = false
   RESPONSE_HAS_BODY = false
 end

According to ((<RFC2616|URL:http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html>)) section 9.2, responses to OPTIONS requests _may_ contain response bodies:

"A 200 response SHOULD include any header fields that indicate optional features implemented by the server and applicable to that resource (e.g., Allow), possibly including extensions not defined by this specification. The response body, if any, SHOULD also include information about the communication options."

As it currently stands, net/http is not useful for issuing an OPTIONS request to an http server which actually makes use of the response body.



-- 
https://bugs.ruby-lang.org/

In This Thread