xapi-project / xen-api

The Xapi Project's XenAPI Server
http://xenproject.org/developers/teams/xapi.html
Other
342 stars 282 forks source link

Support Chunk encoding #5754

Open benjamreis opened 1 week ago

benjamreis commented 1 week ago

For some XO feature:

I believe in both exports, XAPI do not provide a content-length header but XAPI doesn't not support chunk encoding either so a content-length header msut be provided by XO. Or this results in:

<html><body><h1>HTTP 500 internal server error</h1>An unexpected error occurred; please wait a while and try again. If the problem persists, please contact your support representative.<h1> Additional information </h1>IMPORT_ERROR_CANNOT_HANDLE_CHUNKED: [  ]</body></html>

Would it be possible for either having the content length info when doing the export or to implement chunk encoding support so that XO doesn't have to specify the length header?