-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding file upload handler #1525
Conversation
aloknerurkar
commented
Apr 2, 2021
- Adding new file upload handler (POST /bzz)
- all unit tests passing
@@ -16,6 +16,14 @@ import ( | |||
|
|||
const DefaultManifestType = ManifestMantarayContentType | |||
|
|||
const ( | |||
RootPath = "/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@acud
The reason I moved these here is because I need them in the traversal tests. The traversal package doesn't need this. I don't see any particular reason why any package apart from api would need this.
api package imports traversal, so I cannot import api in traversal pkg. Also if these change in future, the traversal tests need to change. So maybe enough reason to move these here? That way both packages can access these as they both depend on manifest
File upload handler. New header for collections. Fixing tests. Adding new tests. Open API changes.
File upload handler. New header for collections. Fixing tests. Adding new tests. Open API changes.