Closed
Description
Rasa version: Rasa 1.10.1
Python version: 3.6.9
Operating system: Ubuntu 18.04.3 LTS (Bionic Beaver)
Issue:
I train a model using HTTP /model/train API and want to get a trained model filename as response header as defined in docs.
Unfortunately it seems like I can't do this: browser doesn't see response 'filename' header.
All I get are following:
HTTP/1.1 200 OK
Connection: keep-alive
Keep-Alive: 5
Access-Control-Allow-Origin: http://localhost:3000
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: content-type
Access-Control-Max-Age: None
Access-Control-Allow-Methods: DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT
Vary: Origin
Content-Length: 0
Looks like this is issue about 'Access-Control-Expose-Headers'. Can we add 'filename' to exposed headers?