Skip to content

Commit

Permalink
Deprecate putAsPost
Browse files Browse the repository at this point in the history
  • Loading branch information
RKrahl committed Jul 12, 2024
1 parent df38e61 commit b26eaac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/icatproject/ids/IdsService.java
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,7 @@ public Response put(@Context HttpServletRequest request, InputStream body,
@Path("put")
@Consumes(MediaType.MULTIPART_FORM_DATA)
@Produces(MediaType.APPLICATION_JSON)
@Deprecated
public Response putAsPost(@Context HttpServletRequest request) throws BadRequestException, NotFoundException,
InternalException, InsufficientPrivilegesException, NotImplementedException, DataNotOnlineException {
try {
Expand Down
1 change: 1 addition & 0 deletions src/site/xhtml/release-notes.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<li>#155, #156: Set Content-Length header in responses sending
only a single file
</li>
<li>Deprecate the putAsPost call.</li>
</ul>

<h2>2.0.0</h2>
Expand Down

0 comments on commit b26eaac

Please sign in to comment.