Closed (fixed)
Project:
Apache Solr Search
Version:
5.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Oct 2009 at 19:18 UTC
Updated:
19 Nov 2009 at 17:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
pwolanin commentedSomething like this - would be useful for the attachements module to POST multi-part form data
Comment #2
pwolanin commentedSlightly revised - needed for: http://drupal.org/node/490078
Comment #3
JacobSingh commentedSneaking something in? Well, I suppose it's a good idea.
Regarding the function, it's okay with me, but smells like cut-and-paste. Perhaps the available handlers should be defined in an array or something so they can be modified through some public method?
Anyway, if it's a pain to refactor, it's not a very difficult thing to fix later.
-J
I'm on crack. Are you, too?
Comment #4
pwolanin commentedThe method we took already to add additional handlers was to extend the class from the PHP library via the Drupal module and add new methods. It just won't work to have each additional contrib module try to do that, so this can be a more generic approch for module to interact with customized response handlers. We should probably add a matching GET method?
Comment #5
pwolanin commentedHere's a little more refined method that allows any type of request.
Comment #6
pwolanin commentedFinal version w/ tweaked doxygen
committing this to 6.x-1.x
Comment #7
pwolanin commentedcommitting attached to 6.x-2.x
Comment #8
pwolanin commentedport to 5.x?
Comment #9
claudiu.cristeaYes. Here's the patch...
Comment #10
claudiu.cristeaUppps... Sorry, forgot the patch.
Comment #11
claudiu.cristeaCommitted in #284512.