我让Apache在Laravel背景下通过Docker运行。
我当前正在执行OPTIONS请求,但收到204,但是该请求未完成原始请求。
例如我正在向/ users /发送POST请求,我正在点击OPTIONS并收到204,但是POST请求从未被调用/命中?
这是我的Apache配置。
Paragraph p = new Paragraph("Test");
PdfPTable table = new PdfPTable(2);
for (int i = 1; i < 6; i++) {
table.addCell("key " + i);
table.addCell("value " + i);
}
for (int i = 0; i < 40; i++) {
document.add(p);
}
// Try to keep the table on 1 page
table.setKeepTogether(true);
document.add(table);