Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #9684 (new enhancement)

Opened 2 years ago

Last modified 2 years ago

[PATCH] Configurable format extension in request urls

Reported by: rbpandey Assigned to: core
Priority: normal Milestone: 1.2.7
Component: ActiveResource Version: 1.2.3
Severity: normal Keywords: format extension collection_path element_path custom_method_collection_url
Cc:

Description

Format extensions (.xml in /people.xml) in request paths should be optional as services should be using the mime-type from the Content-Type and Accept request headers to determine the format to accept or return to the client. The attached patch allows this via a Person.use_format_extension = true | false option.

Attachments

configurable_format_extension_in_request_urls.patch (3.9 kB) - added by rbpandey on 09/25/07 20:30:00.
configurable_format_extension_in_request_urls.2.patch (3.4 kB) - added by rbpandey on 09/25/07 21:44:56.

Change History

09/25/07 20:30:00 changed by rbpandey

  • attachment configurable_format_extension_in_request_urls.patch added.

09/25/07 21:44:56 changed by rbpandey

  • attachment configurable_format_extension_in_request_urls.2.patch added.

10/03/07 19:53:38 changed by rbpandey

  • summary changed from Configurable format extension in request urls to [PATCH] Configurable format extension in request urls.

10/15/07 15:40:12 changed by josephgrossberg

+1