[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Xen-API] [PATCH 0 of 2] raw VDI import can now issue HTTP redirects
The import_raw_vdi HTTP handler now behaves more like the import and export
handlers: it will emit an HTTP 302 redirect if the local host cannot access the
SR.
We are also careful to issue a redirect using HTTPS if the incoming connection
was HTTPS, and HTTP if it was HTTP.
ocaml/xapi/import_raw_vdi.ml | 50 ++++++++++++++++++++++++++++++------
ocaml/idl/ocaml_backend/context.ml | 8 +++++
ocaml/idl/ocaml_backend/context.mli | 3 ++
ocaml/xapi/import_raw_vdi.ml | 2 +-
4 files changed, 53 insertions(+), 10 deletions(-)
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
|