How can we improve Breeze.js?

Enabling basic configuration of batch requests........

So if a POST request is sent to http://localhost:8081/odata/$batch,
Then the internal batch request wont "magically" remove "odata" path inside content (why???):
POST http://localhost:39996/odata/$batch HTTP/1.1
Host: localhost:39996
Connection: keep-alive
Content-Length: 570
Accept: multipart/mixed
MaxDataServiceVersion: 2.0
Origin: http://localhost:9000
DataServiceVersion: 2.0
User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.66 Safari/537.36
Content-Type: multipart/mixed;boundary=batch_be08-c15d-f578
Referer: http://localhost:9000/
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8,en-GB;q=0.6

--batch_be08-c15d-f578
Content-Type: multipart/mixed; boundary=changeset_5551-523b-8701

--changeset_5551-523b-8701
Content-Type: application/http
Content-Transfer-Encoding: binary

POST Products HTTP/1.1
Content-ID: 1
DataServiceVersion: 2.0
Accept: application/atomsvc+xml;q=0.8, application/json;odata=verbose;q=0.5, */*;q=0.1
Content-Type: application/json;odata=verbose
MaxDataServiceVersion: 2.0

{"ProductId":-1,"Name":"MyProduct","Description":"MyDescription"}
--changeset_5551-523b-8701--

--batch_be08-c15d-f578--

1 vote
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
Tomer shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base