- 博客(5)
- 资源 (8)
- 收藏
- 关注
原创 【moco】https&证书
在博客moco环境搭建 中,完成了http请求的mock模拟,但是https请求呢? 启动服务命令 启动https服务的命令格式如下 java -jar path-to-moco-runner> https -p monitor-port> -c configuration -file> --https path-to-cert.jks > --cert mocohttps --
2018-01-22 21:30:54 2464 1
原创 【moco】http服务
moco是什么 moco官方网站,即github地址为 https://github.com/dreamhead/moco 给出解释,moco是一个简单搭建的stub框架,那么何为stub呢?stub 可翻译为桩,指用来替换一部分功能的程序段。桩程序可以用来模拟已有程序的行为(比如一个远端机器的过程)或是对将要开发的代码的一种临时替代 那么moco是什么呢?根据stub的含义,moco的作用就
2018-01-22 21:18:57 1285
原创 【codewars】Roman Numerals Encoder
instruction Create a function taking a positive integer as its parameter and returning a string containing the Roman Numeral representation of that integer. Modern Roman numerals are written by expr
2018-01-16 21:25:06 891
原创 【codewars】Strip Comments
instruction Complete the solution so that it strips all text that follows any of a set of comment markers passed in. Any whitespace at the end of the line should also be stripped out. Examples:
2018-01-13 13:36:40 896
原创 【flask】Flask重定向
在使用flask中的重定向之前,让我们先了解一个概念,重定向和请求转发的作用和区别 重定向和请求转发的区别 网址 重定向时浏览器上的网址改变 转发时浏览器上的网址不变 请求次数 重定向实际上产生了两次请求 转发只有一次请求 工作流程 转发过程: 客户浏览器发送http请求 –> web服务器接受此请求 –> 调用内部的一个方法在容器内部完成请求处理和转发动作 –> 将目标资
2018-01-08 21:41:01 10755
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人