方法1:直接拖动 方法2:在Tests中设置,请求后的设置。 postman.setNextRequest('Request 3'); ...
分类:
其他好文 时间:
2021-04-07 11:31:13
阅读次数:
0
1.概念 Cache-control用于控制HTTP缓存(在HTTP/1.0中可能部分没实现,仅仅实现了Pragma: no-cache) 数据包中的格式: Cache-Control: cache-directive cache-directive可以为以下: request时用到: | "no- ...
分类:
Web程序 时间:
2021-04-07 11:20:59
阅读次数:
0
request的header信息在通过feign调用的时候,不能直接传过去,可以写一个拦截器,给他发过去,但是中间出了个小bug,报错too many bytes written,经百度,找了如下https://blog.csdn.net/qq_39986681/article/details/10 ...
分类:
其他好文 时间:
2021-04-07 11:20:39
阅读次数:
0
Spring里的占位符spring里的占位符通常表现的形式是: <bean id="dataSource" destroy-method="close" class="org.apache.commons.dbcp.BasicDataSource"> <property name="url" val ...
分类:
编程语言 时间:
2021-04-07 11:19:32
阅读次数:
0
常见的问题,记录操作日志中发现,getRemoteAddr取到的客户端的ip地址不是真实的ip,需要解析请求头中的信息获取正确ip。 public static String getIpAddress(HttpServletRequest request) { String ip = request ...
分类:
编程语言 时间:
2021-04-07 10:50:41
阅读次数:
0
如下pod定义: containers: - name: busyboxv1 image: busybox:v1 resources: limits: memory: 600Mi cpu: 800m 1cpu=1000m,800m代表 1个cpu使用了80ms(1s=100ms) requests: ...
分类:
其他好文 时间:
2021-04-06 15:04:24
阅读次数:
0
# @Filename: search_document.py import os,re import shutil import pandas as pd import time class atom_file(object): def re_doucement(self,path,pattern ...
分类:
其他好文 时间:
2021-04-06 14:59:44
阅读次数:
0
Shodan收集ip脚本加我的thinkphp日志漏洞探测脚本升级版(我对我灵活的脑袋瓜可太自豪了) ...
分类:
Web程序 时间:
2021-04-06 14:51:41
阅读次数:
0
// 判斷是否已登錄授權 module.exports.getDate = getDate function getDate(){ var time = new Date().toLocaleDateString().split('/').join('-') return time; } // 判斷 ...
分类:
Web程序 时间:
2021-04-06 14:39:35
阅读次数:
0
class MyPromise { constructor(executor) { this.state = 'pending'; this.value = null; try { executor(this.resolve.bind(this),this.reject.bind(this)); } ...
分类:
其他好文 时间:
2021-04-06 14:22:04
阅读次数:
0