- JRE 1.6+
You can confirm this by running:
➜ java -version
openjdk version "1.8.0_222"
OpenJDK Runtime Environment (build 1.8.0_222-20190711112007.graal.jdk8u-src-tar-gz-b08)| import { logger } from '$lib/server/logger'; | |
| import axios from 'axios'; | |
| import https from 'https'; | |
| import type { Readable } from 'stream'; | |
| const http = axios.create({ | |
| timeout: 15_000, // 15 seconds, | |
| }); | |
| export async function proxyResponse(url: string): Promise<Response> { |
| const num: number = 11111111; |
| import java.lang.management.ManagementFactory; | |
| import java.net.InetAddress; | |
| import java.net.UnknownHostException; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import java.util.Set; | |
| import javax.management.AttributeNotFoundException; | |
| import javax.management.InstanceNotFoundException; | |
| import javax.management.MBeanException; |
* Use a subset of HTTP Codes: 200, 500, 400, 401, 403, 404
* Use a standard structure for error details
{
"httpStatus": 400,
"apiCode": "64786cd2-5f93-11e5-aade-cf7da0d4f70a",
"userMessage": "An error has occurred and the request could not be completed.",
"developerMessage": "Invalid request body see validation errors",
"validationErrors": [Your username on GitHub: devcsrj
You need a passphrase to unlock the secret key for user: "keybase.io/devcsrj [email protected]" 4096-bit RSA key, ID 86DCB6CF82C30763, created 2015-06-03
Please publicly post the following Gist, and name it keybase.md: