HTTP请求调试 FakeWeb

码农软件 · 软件分类 · 程序调试工具 · 2019-12-02 07:12:42

软件介绍

FakeWeb是一个采用Ruby开发的辅助性的用来伪造Web请求的工具,使用它不需要修改代码或编写相应代码。

使用示例:

  FakeWeb.register_uri(:get, "http://example.com/test1", :string => "Hello World!")

  Net::HTTP.get(URI.parse("http://example.com/test1"))
  => "Hello World!"

  Net::HTTP.get(URI.parse("http://example.com/test2"))
  => FakeWeb is bypassed and the response from a real request is returned

本文地址:https://codercto.com/soft/d/20241.html

Open Data Structures

Open Data Structures

Pat Morin / AU Press / 2013-6 / USD 29.66

Offered as an introduction to the field of data structures and algorithms, Open Data Structures covers the implementation and analysis of data structures for sequences (lists), queues, priority queues......一起来看看 《Open Data Structures》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换