Transpiled version (3120L) is out of date.
1 | static virtual NanoHTTPD.Response addFilenameHeader(virtual NanoHTTPD.Response r, S name) { |
2 | call(r, "addHeader", "Content-Disposition", "inline; filename=\"" + name + "\""); // todo: encode special characters |
3 | ret r; |
4 | } |
5 | |
6 | static virtual NanoHTTPD.Response addFilenameHeader(S name, virtual NanoHTTPD.Response r) { |
7 | ret addFilenameHeader(r, name); |
8 | } |
Began life as a copy of #1013807
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032397 |
Snippet name: | addFilenameHeader |
Eternal ID of this version: | #1032397/2 |
Text MD5: | afb76b6479b95c0fbbffa397e0748a57 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-09-02 16:33:09 |
Source code size: | 353 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 151 / 217 |
Version history: | 1 change(s) |
Referenced in: | [show references] |