Hello,

I'm working on a site that uses an outgoing proxy, hence using simplexml_load_file doesn't work.
I created a patch against the 6.x-1.x-dev for using drupal_http_request instead.
Although the patch is against the Drupal 6 version, this can be uses out of the box for Drupal 7:
Cf. http://api.drupal.org/api/drupal/includes!common.inc/function/drupal_htt...

Please take a look.

Thanks

CommentFileSizeAuthor
#2 gss_t.patch1.22 KBsterfreez
gss_drupal_http_request.patch3.63 KBsterfreez

Comments

dhavyd’s picture

Assigned: Unassigned » dhavyd

Hi! Thanks for your patch! I'll test it and return with feedback and if it can be included in the next release.

sterfreez’s picture

StatusFileSize
new1.22 KB

Thanks. I take the opportunity to submit another patch. This one adresses the t() function.
BTW if you're looking for a helping hand I'm interested in helping you with this module and get it ported to D7. I only need commit access :)

dhavyd’s picture

Status: Needs review » Reviewed & tested by the community

Hi again! The patch worked great and I've included and commited it in your name. It will be included in the next release... Thanks for your help. By the way, I could almost port it directly to 7.x-1.x branch (with small adjustments), which was great!

dhavyd’s picture

It would be nice if you want to be a co-maintainer... BTW the module is ported to D7. The both versions was created almost simultaneously. The D7 version is actually more advanced than the D6 version. But as I said before, it would be nice to have a co-maintainer...

dhavyd’s picture

Status: Reviewed & tested by the community » Fixed

#1 is fixed on 7.x-1.7... Sterfreez, can you create a new issue with the patch (#2) and your request to be co-maintainer? Then we can close this specific issue for drupal_http_request().

sterfreez’s picture

dhavyd’s picture

Status: Fixed » Closed (fixed)