Code Monkey home page Code Monkey logo

erp-notebook's People

Contributors

raomuyang avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

erp-notebook's Issues

MultipartFile只支持post方法,不能使用put方法上传文件

如题,所以原本以rest规范设计的“创建文件使用put方法“需要暂时改成POST方法

The multipart support as used by Spring doesn't support other request method then POST. For the StandardServletMultipartResolver this is hardcoded in that class.

For the CommonsMultipartResolver it is hardcoded in the ServletFileUpload utility class from the Apache Commons Fileupload project.

Tthe Form-based File Upload in HTML (RFC1867) isn't really explicit about this but the only mention of a used HTTP method is POST.

In short, at the moment only POST is supported by the frameworks you might be able to work around it by reimplemening some classes but if it works (especially with the default Servlet 3.0 file upload support) might depend on your containe

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.