wisdom-framework / wisdom

A modular and dynamic web framework
http://wisdom-framework.org
Apache License 2.0
88 stars 42 forks source link

Cors error when return 413 status code #552

Open jetien opened 8 years ago

jetien commented 8 years ago

Hi, when I try to upload file which exceed "request.body.max.size", I received the correct status code (in the Network panel on devTools window) but there is also an error on CORS (No 'Access-Control-Allow-Origin'...).

This error leads to the no statusCode and statusText on the javascript response.

Any ideas about this problem ?