Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1031432 // grabContentTypeOfURL

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2831L/17K).

sS grabContentTypeOfURL(S url) {
  ret first(mapGet(getURLHeadersByHEAD(url), "content-type"));
}

Author comment

Began life as a copy of #1016489

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031432
Snippet name: grabContentTypeOfURL
Eternal ID of this version: #1031432/4
Text MD5: 84a175261ba10b9ebdbc57d6532c71f8
Transpilation MD5: 64f3caba67c1e9a051bc0dc81cf3d90f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-12 08:15:33
Source code size: 101 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 79 / 134
Version history: 3 change(s)
Referenced in: [show references]