Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6905488
  • 博文数量: 637
  • 博客积分: 10265
  • 博客等级: 上将
  • 技术积分: 6165
  • 用 户 组: 普通用户
  • 注册时间: 2004-12-12 22:00
文章分类

全部博文(637)

文章存档

2011年(1)

2010年(1)

2009年(3)

2008年(12)

2007年(44)

2006年(156)

2005年(419)

2004年(1)

分类: 系统运维

2005-10-12 18:10:02

I still do not understand this requrement. squid can handle posts, can't it?

jesreds job is to rewrite the url, why should it care about the request method?

As a matter of fact, this simple change to rewrite.c in jesred makes it
recognize
post.
110c110
< if( strcmp(*method, "GET") )

---
> if( !(strcmp(*method, "GET") || strcmp(*method, "POST")))
111a112
>
Can somebody please explain to me why is there a compelling reason to require
GET method?
Thank you.
阅读(1927) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~