Hi. I ported this to Drupal 7.

Basically just ran it through coder and did a little cleaning up. I've been using it with success. You can grab the code from https://github.com/systemseed/services_accept_origin

Please can you start a Drupal 7 branch, or add me as a maintainer so that I can?

Thanks

Comments

zoo33’s picture

Status: Active » Reviewed & tested by the community

Tested, works! Haven't reviewed the code.

mgifford’s picture

Status: Reviewed & tested by the community » Needs review

Ok, someone needs to review the code. Also we really need to have a patch to compare with the D6 version.

Thanks @mrfelton - it's important to bring this code back to Drupal.org though so I'll contact @SimmeLj about this.

justadropofwater’s picture

I've been using this on a production server for almost a full two months. Along with setting up CORS support on our box that has Services on it hybird mobile apps (i.e. PhoneGap apps) can connect (PhoneGap basically runs a virtual stack to run the app in a webview, i.e. all connections are cross origin requests). Does what its says on the box.

alexku’s picture

Tested and works as expected. Maybe it is time to start 7.x-1.x-dev ?

cweagans’s picture

The code looks good. This would be a good basis for a 7.x-1.x branch.