小编Eri*_*ric的帖子

Delphi - '日期编码的参数无效',因为Value ['Expires'] = - 1

我一直在使用delphi的应用程序,其中应用程序需要连接像"example.example.ex"这样的URL.

当我调用该函数IdHTTP1.Post时,日期enconding过程中发生错误.

发生的情况是,当应用程序获得某些连接头的值时,"Expires"为-1,而function RawStrInternetToDateTime(var Value: string): TDateTime;内部使用的函数EncodeDate(Year, Month, Day);不能使用值"-1".

我是否需要直接将"exemple.exemple.ex","expires"值更改为其他某个日期时间值?

delphi indy http-headers

3
推荐指数
1
解决办法
5078
查看次数

标签 统计

delphi ×1

http-headers ×1

indy ×1