Needs work
Project:
Services Client
Version:
7.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Apr 2013 at 18:36 UTC
Updated:
26 Apr 2013 at 13:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
jpstrikesback commentedComment #2
jpstrikesback commentedComment #3
mhrabovcin commentedI'd like to see this as part of REST plugin rather than services client class because this doesn't need to necessary apply on XML-RPC server or other servers.
Comment #4
jpstrikesback commentedGood catch.
Comment #5
jpstrikesback commentedComment #6
mhrabovcin commentedWhat about adding general Content-Length support to Rest plugin?
Comment #7
jpstrikesback commentedI like that, I'll test that and get back here
Comment #8
mhrabovcin commentedDid you tested if fix was working correctly?
Comment #9
jpstrikesback commentedI just tested it and there are a few items:
- $this->data should be $request->data
- $request->data is at least sometimes an empty array (so strlen() breaks things as it throws a warning) (i.e. when doing a DELETE)
The only real issue is the array, which may be only set on DELETE? I don't know offhand.
Comment #10
jpstrikesback commented